const http = require('http')

const server = http.createServer((request,response)=>{
  // request: 请求报文
  // response: 响应报文
  // response.write('hello')
  response.end('<p> hello2 </p>')
})

server.listen(8989, ()=>{
  console.log('启动成功了,端口是8989 , 打开 http://localhost:8989');
})

